package site.zhouinfo.designpatterns.factory.abstractfactory;

import site.zhouinfo.designpatterns.factory.common.MailSender;
import site.zhouinfo.designpatterns.factory.common.Sender;

/**
 * 抽象工厂模式 对用发送邮箱工厂类
 *
 * @author zhou
 * @create 2017-06-21 18:13
 * @email zhouinfo@qq.com
 * @blog blog.zhouinfo.site
 */
public class AbstractSendMailFactory implements Provider {

    @Override
    public Sender produce() {
        return new MailSender();
    }
}
